using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Org.Loon.Framework.Xna.Game.Action.Scripting
{
   public class Execute : Function {
	
	private string script;

	public Execute(string script) {
		this.script = script;
	}

    public override void Update(ScriptFactory engine, Stack<StackFrame> stack, Callback callback)
    {
		engine.Execute(stack, script);
	}

	public string GetScript() {
		return script;
	}

}

}
